package main

import (
	"strings"
	"fmt"
)

func main() {

	//根据空格截取字符串
	stringField := strings.Fields("we lcom")

	for _, value := range stringField {
		fmt.Printf("fields value is %v \n", value)

	}

	fmt.Printf("assert string is contain the subStr %v \n", strings.Contains("welcom", "com"))

	fmt.Printf("containRune value is %v \n", strings.ContainsRune("a\n", 'a'))




}
